package com.maiji.cloud.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.maiji.cloud.entities.login.UserInfo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfo> {
	/**
	 * 插入
	 * @param userInfo
	 */
	void insertUserInfo(UserInfo userInfo);
	
	/**
	 * 根据用户id获得用户信息
	 * @param uuId
	 * @return
	 */
	 UserInfo selectOneByUserId(@Param("uuId")String uuId);
	 
	 /**
	  * 修改
	  * @param userInfo
	  */
	void updateByUserId(UserInfo userInfo);

}
